package com.xiaozhen.rtmp;

import com.xiaozhen.swagger.annotation.EnableCustomSwagger2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * HISTORY
 *
 * @author zhenweisheng
 * @date 2021/9/14 9:07
 * @description:
 */
@SpringBootApplication(scanBasePackages = {"com.xiaozhen"})
@MapperScan(basePackages = {"com.xiaozhen.*.dao"})
@EnableDiscoveryClient
@EnableCustomSwagger2
public class RtmpServerApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(RtmpServerApplication.class, args);
    }
}
